///**
///旅拍模块Tab类别模型
class TravelTabModel {
  Map params;
  String url;
  final List<TravelTab> tabs;

  TravelTabModel({this.params, this.url, this.tabs});

  factory TravelTabModel.fromJson(Map<String, dynamic> json) {
    var jsonTabData = json['tabs'] as List;
    List<TravelTab> tabs =
    jsonTabData.map((i) => TravelTab.fromJson(i)).toList();
    return TravelTabModel(params:json['params'], url: json['url'], tabs: tabs);
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['params'] = this.params;
    data['url'] = this.url;
    if (this.tabs != null) {
      data['tabs'] = this.tabs.map((v) => v.toJson()).toList();
    }
    return data;
  }
}

class TravelTab {
  String labelName;
  String groupChannelCode;

  TravelTab({this.labelName, this.groupChannelCode});

  factory TravelTab.fromJson(Map<String, dynamic> json) {
    return TravelTab(
        labelName: json['labelName'],
        groupChannelCode: json['groupChannelCode']);
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['labelName'] = this.labelName;
    data['groupChannelCode'] = this.groupChannelCode;
    return data;
  }
}
